{extend name="public:base" /}
{block name="main"}
    <div class="ShareAnyContainer" style="font-size: 14px;">
        当前位置：<a href="{:url('shop/index/index')}" title="首页">首页</a>&nbsp;&nbsp;/&nbsp;&nbsp;<a
            href="{:url('shop/account/money')}" title="资金管理">资金管理</a>
    </div>
    <div class="ShareAnySeparate"></div>
    <div class="ShareAnyContainer">
        <div class="line"></div>
    </div>
    <div class="ShareAnySeparate"></div>
    <div class="ShareAnyContainer">
        <table style="width:100%;" border="0">
            <tr>
                <td valign="top" width="20%">{include file="public/account" /}</td>
                <td valign="top" width="5%">&nbsp;</td>
                <td valign="top" width="75%" style="line-height: 30px; text-align: center;">
                    <p style="text-align: left; font-size: 25px;">资金管理</p>
                    <br>
                    <p style="text-align: left;">余额：{$userInfo['money']}，<a href="{:url('shop/account/pay')}" title="立即充值">立即充值</a></p>
                    <br>
                    <table border="1" style="width:100%;border:1px solid #ccc;">
                        <tr>
                            <th style="padding:5px;text-align: center;">资金</th>
                            <th style="padding:5px;text-align: center;">赠送金额</th>
                            <th style="padding:5px;text-align: center;">状态</th>
                            <th style="padding:5px;text-align: center;">操作</th>
                            <th style="padding:5px;text-align: center;">时间</th>
                        </tr>
                        {volist name="$moneys" id="money"}
                            <tr>
                                <td style="padding:5px;">{$money['money']}</td>
                                <td style="padding:5px;">
                                    {:$money['sale_money']?$money['sale_money']:'0.00'}
                                </td>
                                <td style="padding:5px;">
                                    {:$state[$money['status']]}
                                </td>
                                <td style="padding:5px;">{$money['remark']}</td>
                                <td style="padding:5px;">{:date('Y-m-d h:i:s',$money['create_time'])}</td>
                            </tr>
                        {/volist}
                    </table>
                </td>
            </tr>
        </table>
    </div>
{/block}
{/block}